package com.wang.designPattern.builder;

/**
 * @description
 * @Author wangzilong
 * @Date 2025/1/13 10:00
 */
public class OrderBuilder {
    public Order prepareVegOrder() {
        Order order = new Order();
        order.addItem(new VegBurger());
        order.addItem(new Cola());
        return order;
    }

    public Order prepareNonVegOrder() {
        Order order = new Order();
        order.addItem(new ChickenBurger());
        order.addItem(new Coffee());
        return order;
    }
}
